projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3cab18
)
Should pass inner_area to cell in gtk_cell_area_activate_cell()
author
Kristian Rietveld
<kris@gtk.org>
Thu, 16 Dec 2010 21:42:10 +0000
(22:42 +0100)
committer
Kristian Rietveld
<kris@gtk.org>
Thu, 16 Dec 2010 21:42:10 +0000
(22:42 +0100)
gtk/gtkcellarea.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcellarea.c
b/gtk/gtkcellarea.c
index a11f5b087f61e86bc2196ae6711477f23f62722b..fcf550ef824ad398b53064c7aec9f584350bf528 100644
(file)
--- a/
gtk/gtkcellarea.c
+++ b/
gtk/gtkcellarea.c
@@
-3415,13
+3415,16
@@
gtk_cell_area_activate_cell (GtkCellArea *area,
else if (mode == GTK_CELL_RENDERER_MODE_EDITABLE)
{
GtkCellEditable *editable_widget;
+ GdkRectangle inner_area;
+
+ gtk_cell_area_inner_cell_area (area, widget, cell_area, &inner_area);
editable_widget =
gtk_cell_renderer_start_editing (renderer,
event, widget,
priv->current_path,
-
cell
_area,
-
cell
_area,
+
&inner
_area,
+
&inner
_area,
flags);
if (editable_widget != NULL)